package com.company.project.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 团队-用户表
 *
 * @author ls
 * @email *****@mail.com
 * @date 2021-02-02 20:34:19
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("team_user")
public class TeamUserEntity extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId("id")
	private String id;

	/**
	 * 用户身份ID
	 */
	@TableField("dcic_user_id")
	private String dcicUserId;

	/**
	 * 团队ID
	 */
	@TableField("team_id")
	private String teamId;

	/**
	 * 是否队长
	 */
	@TableField("is_captain")
	private String isCaptain;
	
	@TableField("organization")
	private String organization;
	
	@TableField("name")
	private String name;
    
	@TableField("id_type")
    private String idType;
	
	@TableField("id_number")
    private String idNumber;
    
    //职务
	@TableField("post")
    private String post;
	
	//电话
	@TableField("phone")
	private String phone;

	@TableField("email")
    private String email;
    
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    
    //备注
    @TableField("remark")
    private String remark;
    
    private String province;
    
    private String city;
    
    private String school;
    
    private String degree;
    
    private String major;

    @TableField("pic")
    private String pic;
    
    @TableField(exist = false)
    private String startTime;

    @TableField(exist = false)
    private String endTime;

}
